package com.red.wood.service.task;

import java.io.IOException;

import org.springframework.context.support.ClassPathXmlApplicationContext;



public class DoubboTask {
	public static void main(String[] args) throws IOException {
		//测试常规服务
		ClassPathXmlApplicationContext context = new ClassPathXmlApplicationContext("spring-context.xml");
		context.start();
//		System.out.println("consumer demo start");
//		DemoService demoService = context.getBean(DemoService.class);
//		System.out.println("consumer demo");
//		System.out.println(demoService.getPermissions(1L));
		System.in.read();
	}
}
